home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gcc
/
ixemulsrc.lha
/
ixemul-41.4
/
network
/
Makefile.in
< prev
next >
Wrap
Makefile
|
1995-05-23
|
4KB
|
113 lines
#### Start of system configuration section. ####
srcdir = @srcdir@
VPATH = @srcdir@
# Common prefix for machine-independent installed files.
prefix = @prefix@
# Common prefix for machine-dependent installed files.
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/Sys/libs
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
CC = @CC@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
RANLIB = @RANLIB@
AR = ar
#### End system configuration section ####
FLAVOR_CFLAGS = -m$(CPU) -m$(FPU) -f$(BASE)
OTHER_CFLAGS = -fomit-frame-pointer
ALL_CFLAGS = $(CFLAGS) $(FLAVOR_CFLAGS) $(OTHER_CFLAGS) $(INCS) $(DEFS)
DEFS =
INCS = -nostdinc -I/gnu/os-include -I$(srcdir) -I$(srcdir)/../library -I$(srcdir)/../include
LIB = libstdio.a
SHELL = /bin/sh
.s.o:
cp $< x.c
$(CC) $(ALL_CFLAGS) -traditional -E x.c -o x.s
$(CC) $(ALL_CFLAGS) -c x.s -o $@
rm -f x.c x.s
.s.bo:
cp $< x.c
$(CC) $(ALL_CFLAGS) -traditional -E x.c -o x.s
$(CC) $(ALL_CFLAGS) -c x.s -o $@
rm -f x.c x.s
.c.o:
$(CC) $(ALL_CFLAGS) -c $< -o $@
.c.bo:
$(CC) $(ALL_CFLAGS) -c -fbaserel $< -o $@
SRCS= getgrent.c gethostnamadr.c getlogin.c getnetbyaddr.c getnetbyname.c \
getnetent.c getpass.c getproto.c getprotoent.c getprotoname.c getpwent.c \
getservbyname.c getservbyport.c getservent.c getttyent.c getusershell.c \
herror.c inet_addr.c inet_lnaof.c inet_makeaddr.c inet_netof.c \
inet_network.c inet_ntoa.c initgroups.c rcmd.c res_comp.c res_debug.c \
res_init.c res_mkquery.c res_query.c res_send.c sethostent.c syslog.c \
ttyname.c ttyslot.c htonl.s htons.s ntohl.s ntohs.s \
page.c log2.c hsearch.c dynahash.c bigkey.c hfunc.c \
ndbm.c buf.c storage.c updutils.c lruhash.c lrutils.c split.c \
search.c lrucache.c insert.c utils.c delete.c big.c seq.c btree.c
OBJS= getgrent.o gethostnamadr.o getlogin.o getnetbyaddr.o getnetbyname.o \
getnetent.o getpass.o getproto.o getprotoent.o getprotoname.o getpwent.o \
getservbyname.o getservbyport.o getservent.o getttyent.o getusershell.o \
herror.o inet_addr.o inet_lnaof.o inet_makeaddr.o inet_netof.o \
inet_network.o inet_ntoa.o initgroups.o rcmd.o res_comp.o res_debug.o \
res_init.o res_mkquery.o res_query.o res_send.o sethostent.o syslog.o \
ttyname.o ttyslot.o \
page.o log2.o hsearch.o dynahash.o bigkey.o hfunc.o \
ndbm.o buf.o storage.o updutils.o lruhash.o lrutils.o split.o \
search.o lrucache.o insert.o utils.o delete.o big.o seq.o btree.o
BOBJS= getgrent.bo gethostnamadr.bo getlogin.bo getnetbyaddr.bo getnetbyname.bo \
getnetent.bo getpass.bo getproto.bo getprotoent.bo getprotoname.bo getpwent.bo \
getservbyname.bo getservbyport.bo getservent.bo getttyent.bo getusershell.bo \
herror.bo inet_addr.bo inet_lnaof.bo inet_makeaddr.bo inet_netof.bo \
inet_network.bo inet_ntoa.bo initgroups.bo rcmd.bo res_comp.bo res_debug.bo \
res_init.bo res_mkquery.bo res_query.bo res_send.bo sethostent.bo syslog.bo \
ttyname.bo ttyslot.bo \
page.bo log2.bo hsearch.bo dynahash.bo bigkey.bo hfunc.bo \
ndbm.bo buf.bo storage.bo updutils.bo lruhash.bo lrutils.bo split.bo \
search.bo lrucache.bo insert.bo utils.bo delete.bo big.bo seq.bo btree.bo
SOBJS= htonl.o htons.o ntohl.o ntohs.o
libnet.a: $(OBJS) $(SOBJS)
rm -f $@
$(AR) rv $@ $(OBJS) $(SOBJS)
$(RANLIB) $@
libnetb.a: $(BOBJS) $(SOBJS)
rm -f $@
$(AR) rv $@ $(BOBJS) $(SOBJS)
$(RANLIB) $@
clean:
rm -f *!
clobber:
rm -f $(OBJS) $(SOBJS) $(LIB)
dep: $(SRC)
$(CC) >deps -MM $(INCS) $(SRCS)
#########################################################################